home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / sound / prayer2.0 / install next >
Text File  |  1999-11-29  |  2KB  |  75 lines

  1. ; Installer script for cP!_ShowConfig
  2. ; Written by mr_W
  3. ; $VER: Prayer2.0-Install 1.0 (18.06.98)
  4. ;
  5. (set msg_welcome "\n\nPrayer2.0 is ShareWare.\n\nPlease consider registering !\n\nSee the doc for more info.")
  6. (set msg_destdirprompt "Where do you want to install Prayer2.0?\nA new drawer named Prayer2.0 will be created !")
  7.  
  8. (complete 0)
  9. (message msg_welcome (ALL))
  10. (complete 5)
  11.  
  12. (set @default-dest "Sys:")
  13. (set DestDir
  14.   (askdir
  15.     (prompt msg_destdirprompt)
  16.     (help @askdir-help)
  17.     (default @default-dest)
  18.   )
  19. )
  20.  
  21. (set DestDir (tackon DestDir "Prayer2.0"))
  22.  
  23. (makedir DestDir)
  24.  
  25. (complete 10)
  26. (working "Copying Prayer2.0 ...")
  27.  
  28. (copyfiles (source "Prayer2") (dest DestDir) (infos) (noposition))
  29. (complete 20)
  30.  
  31. (working "Copying Robe files ...")
  32. (copyfiles (source "Robes") (dest (tackon DestDir "Robes")) (all))
  33. (complete 30)
  34.  
  35. (working "Copying Plugins ...")
  36. (copyfiles (source "Plugins") (dest (tackon DestDir "Plugins")) (all))
  37. (complete 40)
  38.  
  39. (working "Copying documentation ...")
  40. (copyfiles (source "Docs") (dest (tackon DestDir "Docs")) (infos) (noposition) (all))
  41. (complete 50)
  42.  
  43. (working "Checking for popupmenu.library (will be installed if not available)")
  44. (copylib (source "Contrib/Libs/popupmenu.library") (dest "Libs:"))
  45. (complete 60)
  46.  
  47. (if
  48.   (askbool
  49.     (prompt "Would you like to install popupmenu.library preferences editor ?\n(popupmenu.library is (c) by Henrik Isaksson)")
  50.     (help @askbool-help)
  51.   )
  52.   (
  53.     (copylib (source "Contrib/Prefs/PopupMenu_MUI") (dest "Sys:Prefs"))
  54.   )
  55. )
  56. (complete 70)
  57.  
  58. (working "Checking for triton.library (will be installed if not available)")
  59. (copylib (source "Contrib/Libs/triton.library") (dest "Libs:"))
  60. (complete 80)
  61. (if
  62.   (askbool
  63.     (prompt "Would you like to install triton.library preferences editor ?\n(triton.library is Copyright (C) 1993-1998  Stefan Zeiger)")
  64.     (help @askbool-help)
  65.   )
  66.   (
  67.     (copylib (source "Contrib/Prefs/Triton") (dest "Sys:Prefs"))
  68.   )
  69. )
  70.  
  71. (complete 90)
  72.  
  73. (set @default-dest DestDir)
  74. (complete 100)
  75.